package design.action.command;

import lombok.Data;

/**
 * @author zxs
 * @since 2020/05/26
 */
@Data
public abstract class AbstractCommand implements Command{

    private Receiver receiver;
    private Param param;

    public AbstractCommand(Receiver receiver){
        this.receiver=receiver;
    }

    @Override
    public abstract void execute();
}
